package com.ibm.cps.message.validation;

/**
 * Created by telekinesis on 6/11/15.
 */
public enum TestTypeEnum {
    DFT("dft", new DFTProcessorValidator())
    , INPUT("input", new InputProcessorValidator());

    private final String name;
    private final IProcessorValidator validator;

    TestTypeEnum(String name, IProcessorValidator validator) {
        this.name = name;
        this.validator = validator;
    }

    public String getName() {
        return name;
    }

    public IProcessorValidator getValidator() {
        return validator;
    }

    public static void main(String[] args){
        System.out.println(TestTypeEnum.valueOf("DFT"));
    }
}
